const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false, //构建时关掉语法检查
  devServer: { //开启脚手架内置的代理服务器，相当于小型的nginx
    port: 3000, //开发服务器端口
    // 转发的目标地址 http://localhost:3000/xxx -> http://localhost:8080/xxx
    proxy: 'http://localhost:8080' 
    
  }
})
